<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="row">
	<div class="col-md-12 col-sm-12 col-lg-12 col-xs-12 text-right" style='margin:10px 10px 10px 0px;'>	
		<t-auth:roleButton />		
	</div>
</div>   
<script type="text/javascript">
function addData(){
	top.openModal("/version/androidVersion/detailed","version_androidVersion_form","移动端安卓版本-添加",400,365);
}
function editData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/version/androidVersion/detailed?key="+id,"version_androidVersion_form","移动端安卓版本-修改",400,365);
	}
}

function selData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/version/androidVersion/detailed?key="+id+"&mode=3","version_androidVersion_form","移动端安卓版本-查看",400,365);
	}
}

function deleteData(){
	var id=getKeyId();
	if(isEditor(id)){
		var url=$.getVirtualPath()+"/version/androidVersion/delete?key="+id;
		deleteDataEx(url,searchCallback);
	}
}
</script>
